package com.yunji.cabinet.dto.device;

import lombok.Data;

/**
 * @author : peter-zhu
 * @date : 2025/1/21 19:18
 * @description : TODO
 **/
@Data
public class DeviceEventDTO {
    private Long eventDataId;
    private String eventDataCode;
    private String productMsg;
    private Long memberId;
    private DeviceCommandDTO commandDTO;

    public DeviceEventDTO(String eventDataCode, Long eventDataId, String productMsg, DeviceCommandDTO commandDTO) {
        this.eventDataCode = eventDataCode;
        this.eventDataId = eventDataId;
        this.productMsg = productMsg;
        this.commandDTO = commandDTO;
    }
}
